﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DataCheck.aspx.cs" Inherits="Hisun.View.Calculation.DataCheck" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <style type="text/css">
        .style1
        {
        }
        .style2
        {
            height: 30px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class=" CommonPage_MainPanel">
        <div class="CommonPage_Banner">
            <div class="CommomPage_Title">
                中间体数据检查</div>
        </div>
        <div class="CommonPage_Body">
            <table style="width: 100%;">
                <tr>
                    <td ">
                        <asp:Label ID="Label2" runat="server" Text="请检查产品经过的作业中心路径是否完整，否则应到相应页面修改。"></asp:Label>
                    </td>
                    <td >
                        <asp:Button SkinID = "Button" ID="Button_CheckPathMap" runat="server" OnClick="Button_CheckPathMap_Click"
                            Text="路径检查" />
                    </td>
                </tr>
                <tr>
                    <td >
                        <asp:Label ID="Label1" runat="server" Text="W系数页面录入产出数量，中间体转出路径页面录入数量应相符，否则应到相应页面修改。"></asp:Label>
                    </td>
                    <td >
                        <asp:Button SkinID = "Button" ID="Button_CheckOutput" runat="server" OnClick="Button_CheckOutput_Click"
                            Text="数量检查" />
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:GridView ID="GridView_PathCache" runat="server" SkinID="GridView" AutoGenerateColumns="False">
                            <Columns>
                                <asp:BoundField DataField="产品ID" HeaderText="产品ID" />
                                <asp:BoundField DataField="产品名称" HeaderText="产品名称" />
                                <asp:BoundField DataField="路径" HeaderText="路径" HtmlEncode="False" HtmlEncodeFormatString="False" />
                            </Columns>
                        </asp:GridView>
                        <asp:GridView ID="GridView_CheckOutput" runat="server" SkinID="GridView" AutoGenerateColumns="False">
                            <Columns>
                                <asp:BoundField DataField="作业中心ID" HeaderText="作业中心ID" Visible="False" />
                                <asp:BoundField DataField="作业中心名称" HeaderText="作业中心名称" />
                                <asp:BoundField DataField="中间体ID" HeaderText="中间体ID" />
                                <asp:BoundField DataField="中间体名称" HeaderText="中间体名称" />
                                <asp:BoundField DataField="W系数页面录入产出数量" HeaderText="数量(w系数)" DataFormatString="{0:N2}" />
                                <asp:BoundField DataField="中间体转出路径录入产出数量" HeaderText="数量(转出路径)" DataFormatString="{0:N2}" />
                                <asp:BoundField DataField="是否相等" HeaderText="是否相等" HtmlEncode="False" HtmlEncodeFormatString="False" />
                                <asp:BoundField DataField="期初批时" DataFormatString="{0:N2}" HeaderText="期初批时" />
                                <asp:BoundField DataField="结存批数" DataFormatString="{0:N2}" HeaderText="结存批数" />
                                <asp:BoundField DataField="结存批时" DataFormatString="{0:N2}" HeaderText="结存批时" />
                                <asp:BoundField DataField="转出批数" DataFormatString="{0:N2}" HeaderText="转出批数" />
                                <asp:BoundField DataField="转出批时" DataFormatString="{0:N2}" HeaderText="转出批时" />
                                <asp:BoundField DataField="损失批数" DataFormatString="{0:N2}" HeaderText="损失批数" />
                                <asp:BoundField DataField="损失批时" DataFormatString="{0:N2}" HeaderText="损失批时" />
                                <asp:BoundField DataField="批时检查" HeaderText="批时检查" HtmlEncode="False" />
                            </Columns>
                        </asp:GridView>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
